<?php
/**
 * 客户验证
 * @Author: wjf
 * @Date: 2022-11-26 14:51:23
*/

namespace app\crm\validate\client;

use think\Validate;

class Ourclients extends Validate
{
    protected $rule =   [
        'name'  => 'require',
        'phone' => 'require|mobile'   
    ];
    
    protected $message  =   [
        'name.require' => '用户名不能为空',
        'phone.require' => '手机号不能为空',
        'phone.mobile' => '手机号不正确'
    ];
    
}